package com.interest.execshell;

/**
 * Created by luoxf on 16-12-7.
 */
public class CommandResult {
    public static final int EXIT_VALUE_TIMEOUT=-1;
    private String output;
    void setOutput(String error) {
        output=error;
    }
    public String getOutput(){
        return output;
    }
    int exitValue;
    public void setExitValue(int value) {
        exitValue=value;
    }
    public int getExitValue(){
        return exitValue;
    }
    private String error;
    /**
     * @return the error
     */
    public String getError() {
        return error;
    }
    /**
     * @param error the error to set
     */
    public void setError(String error) {
        this.error = error;
    }
}
